﻿namespace WebPacker
{
	using System.Web.Mvc;

	public static class WebPackerHtmlHelper
	{
		public static MvcHtmlString ScriptPack(this HtmlHelper html, string packName)
		{
			return MvcHtmlString.Create(WebPackerHtml.ScriptPack(packName));
		}

		public static MvcHtmlString ScriptPack(this HtmlHelper html, string[] resources)
		{
			return MvcHtmlString.Create(WebPackerHtml.ScriptPack(resources));
		}

		public static MvcHtmlString CssPack(this HtmlHelper html, string packName)
		{
			return MvcHtmlString.Create(WebPackerHtml.CssPack(packName));
		}

		public static MvcHtmlString CssPack(this HtmlHelper html, string[] resources)
		{
			return MvcHtmlString.Create(WebPackerHtml.CssPack(resources));
		}
	}
}
